package org.example.iotdb.flink.entity;

import java.sql.Timestamp;

/**
 * @Auther: kevin
 * @Description:
 * @Company: 上海博般数据技术有限公司
 * @Version: 1.0.0
 * @Date: Created in 17:25 2021/8/19
 * @ProjectName: iotdb-learn
 */
public class Message {

    private String path;
    private long time;
    private Double p;
    private Double q;
    private Double i;
    private Double u;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public Double getP() {
        return p;
    }

    public void setP(Double p) {
        this.p = p;
    }

    public Double getQ() {
        return q;
    }

    public void setQ(Double q) {
        this.q = q;
    }

    public Double getI() {
        return i;
    }

    public void setI(Double i) {
        this.i = i;
    }

    public Double getU() {
        return u;
    }

    public void setU(Double u) {
        this.u = u;
    }

    @Override
    public String toString() {
        return "Message{" +
                "path='" + path + '\'' +
                ", time=" + new Timestamp(time) +
                ", p=" + p +
                ", q=" + q +
                ", i=" + i +
                ", u=" + u +
                '}';
    }
}
